package com.zbkj.service.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper;
import com.zbkj.common.model.TransferOrderDetails;
import com.zbkj.service.dao.TransferOrderDetailsDao;
import com.zbkj.service.service.TransferOrderDetailsService;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author keNan
 * @description TransferOrderDetailsServiceImpl 接口实现
 * @date 2025-06-12
 */
@Service
public class TransferOrderDetailsServiceImpl extends ServiceImpl<TransferOrderDetailsDao, TransferOrderDetails> implements TransferOrderDetailsService {

    @Resource
    private TransferOrderDetailsDao dao;

//
//    /**
//     * 列表
//     *
//     * @param request          请求参数
//     * @param pageParamRequest 分页类参数
//     * @return List<TransferOrderDetails>
//     * @author keNan
//     * @since 2025-06-12
//     */
//    @Override
//    public List<TransferOrderDetails> getList(TransferOrderDetailsSearchRequest request, PageParamRequest pageParamRequest) {
//        PageHelper.startPage(pageParamRequest.getPage(), pageParamRequest.getLimit());
//
//        //带 TransferOrderDetails 类的多条件查询
//        LambdaQueryWrapper<TransferOrderDetails> lambdaQueryWrapper = new LambdaQueryWrapper<>();
//        TransferOrderDetails model = new TransferOrderDetails();
//        BeanUtils.copyProperties(request, model);
//        lambdaQueryWrapper.setEntity(model);
//        return dao.selectList(lambdaQueryWrapper);
//    }

}

